/**
 * output package name
 */
package com.kingdee.eas.ec.garden.material.inv;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class ResourceTypeEnum extends StringEnum
{
    public static final String MATERIAL_VALUE = "2";
    public static final String TREE_VALUE = "21";
    public static final String SWARD_VALUE = "22";

    public static final ResourceTypeEnum material = new ResourceTypeEnum("material", MATERIAL_VALUE);
    public static final ResourceTypeEnum tree = new ResourceTypeEnum("tree", TREE_VALUE);
    public static final ResourceTypeEnum sward = new ResourceTypeEnum("sward", SWARD_VALUE);

    /**
     * construct function
     * @param String resourceTypeEnum
     */
    private ResourceTypeEnum(String name, String resourceTypeEnum)
    {
        super(name, resourceTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static ResourceTypeEnum getEnum(String resourceTypeEnum)
    {
        return (ResourceTypeEnum)getEnum(ResourceTypeEnum.class, resourceTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(ResourceTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(ResourceTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(ResourceTypeEnum.class);
    }
}